#ifndef _CARDUART_H_
#define _CARDUART_H_

#define CARD_UART_WRITEMAXLEN			 150
#define CARD_UART_CMD_END_CHAR		 '\n'
#define CARD_UART_CMD_END                     "\n"
#define CARDAES256_DEFAULT_KEY	"5aea352265cfe038d71a5ff50740ca7a4b5a19164837d584679a632d85026cb7"
#define CARDTAG 			"78863bd468ed6102e3f1947c32caf36b"



enum{
	CARDAT_AUTHSTATE=0,
	CARDAT_CHALLENGE,
	CARDAT_AUTH,
	CARDAT_SDEVID,
	CARDAT_KEY,
	CARDAT_DINFO,
    CARDAT_VALIDCFG,
	CARDAT_STIME,
	CARDAT_RECSTART,
	CARDAT_RECSTOP,
	CARDAT_MOUNT,
	CARDAT_UMOUNT,
    CARDAT_RESTROE,
    CARDAT_UPGRADE,
    CARDAT_GETCFG,
    CARDAT_SETCFG,
	CARDAT_EXIT,
	CARDAT_MAX
};



#endif


